package com.woniuxy.commons.enums;

/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-17 09:14
 * @description:题库枚举类
 */
public enum TestBankEnum {
    SELECT_BANK("select", 1),
    VACANCY_BANK("vacancy", 2),
    MATERIAL_BANK("material", 3),
    CLOZE_BANK("cloze", 4),
    REVISE_BANK("revise", 5),
    JUDGE_BANK("judge", 6),
    WRITER_BANK("writer", 7);

    private String name;
    private int index;

    TestBankEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public Long getIndex() {
        return (long) index;
    }
}
